package com.leihao.product.domian;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 商品满减表
 */
@ApiModel("商品阶梯价格实体")
public class ProductFullReduction {

    /**
     * 商品满减编号
     */
    @ApiModelProperty(value = "主键ID", required = false, example = "1", dataType = "Integer")
    private Integer productFullReductionId;

    /**
     * 商品编号
     */
    @ApiModelProperty(value = "商品编号", required = false, example = "1", dataType = "Integer")
    private Integer productId;

    /**
     * 商品满足金额
     */
    @ApiModelProperty(value = "商品满足金额", required = false, dataType = "String")
    private BigDecimal fullPrice;
    /**
     * 商品减少金额
     */
    @ApiModelProperty(value = "商品减少金额", required = false, dataType = "String")
    private BigDecimal reducePrice;

    public Integer getProductFullReductionId() {
        return productFullReductionId;
    }

    public void setProductFullReductionId(Integer productFullReductionId) {
        this.productFullReductionId = productFullReductionId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public BigDecimal getFullPrice() {
        return fullPrice;
    }

    public void setFullPrice(BigDecimal fullPrice) {
        this.fullPrice = fullPrice;
    }

    public BigDecimal getReducePrice() {
        return reducePrice;
    }

    public void setReducePrice(BigDecimal reducePrice) {
        this.reducePrice = reducePrice;
    }

    public ProductFullReduction() {
    }

    public ProductFullReduction(Integer productFullReductionId, Integer productId, BigDecimal fullPrice, BigDecimal reducePrice) {
        this.productFullReductionId = productFullReductionId;
        this.productId = productId;
        this.fullPrice = fullPrice;
        this.reducePrice = reducePrice;
    }
}
